package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.KingTableNameMapper;
import com.ruoyi.system.domain.KingTableName;
import com.ruoyi.system.service.IKingTableNameService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-05-21
 */
@Service
public class KingTableNameServiceImpl implements IKingTableNameService 
{
    @Autowired
    private KingTableNameMapper kingTableNameMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public KingTableName selectKingTableNameById(Long id)
    {
        return kingTableNameMapper.selectKingTableNameById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param kingTableName 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<KingTableName> selectKingTableNameList(KingTableName kingTableName)
    {
        return kingTableNameMapper.selectKingTableNameList(kingTableName);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param kingTableName 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertKingTableName(KingTableName kingTableName)
    {
        return kingTableNameMapper.insertKingTableName(kingTableName);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param kingTableName 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateKingTableName(KingTableName kingTableName)
    {
        return kingTableNameMapper.updateKingTableName(kingTableName);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteKingTableNameByIds(Long[] ids)
    {
        return kingTableNameMapper.deleteKingTableNameByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteKingTableNameById(Long id)
    {
        return kingTableNameMapper.deleteKingTableNameById(id);
    }
}
